﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Frame/FrameMasterPage.master" CodeFile="UserDetail.aspx.cs" Inherits="Frame_UserDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:scriptmanager id="ScriptManager1" runat="server">
    </asp:scriptmanager>

    <script type="text/javascript" src="../js/jquery3.2.min.js"></script>


<div class="subPageBg">
        <img src="../Images/bg_user.jpg" />
    </div>
    
    
    
    <table>
       
        <tr>
            <td>
                <asp:Label ID="lblRolenm" runat="server" Text="用户名："></asp:Label>
            </td>
            <td>
            </td>
            <td>
                <asp:TextBox ID="txtUserid" runat="server" style = "text-transform:uppercase"></asp:TextBox>
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="用户简称："></asp:Label>
            </td>
            <td>
            </td>
            <td>
                <asp:TextBox ID="txtCusabbr" runat="server"  ></asp:TextBox>
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="中文全称："></asp:Label>
            </td>
            <td>
            </td>
            <td>
                <asp:TextBox ID="txtChnname" runat="server" Width="300px"  ></asp:TextBox>
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="Label8" runat="server" Text="电子邮箱："></asp:Label>
            </td>
            <td>
            </td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server"   ></asp:TextBox>
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="Label10" runat="server" Text="当前状态"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                <asp:CheckBox ID="chkLock" runat="server" Text="锁定" />
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
            <td>
               
            </td>
            <td>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="lblComments" runat="server" Text="备注："></asp:Label>
            </td>
            <td>
            </td>
            <td colspan="6">
                <asp:TextBox ID="txtComments" runat="server" TextMode="MultiLine" Width="550px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td colspan="6">
                <asp:updatepanel id="UpdatePanel1" runat="server" updatemode="Conditional">
                    <ContentTemplate>
                        <asp:Label ID="lbErrorMessage" runat="server" CssClass="ErrorNote"></asp:Label>
                    </ContentTemplate>
                   <Triggers>
                       <asp:AsyncPostBackTrigger ControlID="btnInsert" EventName="Click" />

                 </Triggers>
                </asp:updatepanel>
            </td>
        </tr>

        <tr>
            <td>
            </td>
            <td>
            </td>
            <td align="left" colspan="6">
          <asp:Button ID="btnInsert" runat="server" CssClass="btn" Text="提交" 
                    onclick="btnInsert_Click" />
                <asp:Button ID="btnCancel" runat="server" CssClass="btn" Text="返回" 
                    onclick="btnCancel_Click" />
            </td>
        </tr>
    </table>

    <asp:updatepanel id="UpdatePanel2" runat="server" updatemode="Conditional">
         <ContentTemplate>

            <asp:HiddenField ID="hiduserid" runat="server" />
            <asp:HiddenField ID="hidPageIndex" runat="server" />
         </ContentTemplate>

     </asp:updatepanel>

</asp:Content>
